package cn.mw.cmdb.virtualization.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @description zabbix监控项最新数据转换
 */
@Getter
@Setter
@Schema(name = "ItemLatestConvertDto", description = "zabbix监控项最新数据转换")
public class ItemLatestConvertDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主机ID")
    private String hostid;

    @Schema(description = "数据类型,0：数字浮点；1：字符；2：日志；3：数字无符号；4：文字")
    private String value_type;

    @Schema(description = "最新值")
    private String lastvalue;

    @Schema(description = "单位")
    private String units;

    @Schema(description = "最新值产生时间")
    private String lastclock;

    @Schema(description = "监控项ID")
    private String itemid;

    @Schema(description = "监控项名称")
    private String name;

    @Schema(description = "资产ID信息")
    private String assetId;

}
